﻿using SHZY.Common.Const;
using SqlSugar;

namespace SHZY.system.Entitys;

/// <summary>
/// 采购订单表实体.
/// </summary>
[SugarTable("test_purchase_form","采购订单表")]
[Tenant(ClaimConst.TENANTID)]
public class TestPurchaseFormEntity
{
    /// <summary>
    /// 主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id",ColumnDescription = "主键", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 流程主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_FlowId",ColumnDescription = "流程主键")]
    public string FlowId { get; set; }

    /// <summary>
    /// 供应商识别码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Supplier_code",ColumnDescription = "供应商识别码")]
    public string SupplierCode { get; set; }

    /// <summary>
    /// 排序.
    /// </summary>
    [SugarColumn(ColumnName = "F_SortCode",ColumnDescription = "排序")]
    public string SortCode { get; set; }

    /// <summary>
    /// 采购员.
    /// </summary>
    [SugarColumn(ColumnName = "F_Buyer",ColumnDescription = "采购员")]
    public string Buyer { get; set; }

    /// <summary>
    /// 所属部门.
    /// </summary>
    [SugarColumn(ColumnName = "F_Depname",ColumnDescription = "所属部门")]
    public string Depname { get; set; }

    /// <summary>
    /// 采购日期.
    /// </summary>
    [SugarColumn(ColumnName = "F_Purchase_Date",ColumnDescription = "采购日期")]
    public DateTime? PurchaseDate { get; set; }

    /// <summary>
    /// 入库状态.
    /// </summary>
    [SugarColumn(ColumnName = "F_Statuss",ColumnDescription = "入库状态")]
    public string Statuss { get; set; }

    /// <summary>
    /// 订单合计金额.
    /// </summary>
    [SugarColumn(ColumnName = "F_Totals",ColumnDescription = "订单合计金额")]
    public decimal Totals { get; set; }

    /// <summary>
    /// 供应商对接人.
    /// </summary>
    [SugarColumn(ColumnName = "F_Supplier",ColumnDescription = "供应商对接人")]
    public string Supplier { get; set; }

    /// <summary>
    /// 联系电话.
    /// </summary>
    [SugarColumn(ColumnName = "F_Phone",ColumnDescription = "联系电话")]
    public string Phone { get; set; }

    /// <summary>
    /// 收货地址.
    /// </summary>
    [SugarColumn(ColumnName = "F_Add_ress",ColumnDescription = "收货地址")]
    public string AddRess { get; set; }

    /// <summary>
    /// 创建时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_Creator_Time",ColumnDescription = "创建时间")]
    public DateTime? CreatorTime { get; set; }

    /// <summary>
    /// 创建用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorUserId",ColumnDescription = "创建用户")]
    public string CreatorUserId { get; set; }

    /// <summary>
    /// 修改时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyTime",ColumnDescription = "修改时间")]
    public DateTime? LastModifyTime { get; set; }

    /// <summary>
    /// 修改用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyUserId",ColumnDescription = "修改用户")]
    public string LastModifyUserId { get; set; }

}